import Layout from '@/layout';
// import store from '@/store'
// console.log(store)
export default {
  path: '/h5manage',
  alwaysShow: true,
	component: Layout,
	redirect: '/h5manage/banner',
	name: 'H5manage',
	meta: { title: '公众号后台管理', icon: 'gongzhonghao', routerType: 'ERP' },
	children: [
		// {
		// 	path: 'bannerInfo',
		// 	name: 'bannerInfo',
		// 	component: () => import('@/views/h5manage/bannerInfo'),
		// 	meta: { title: '小程序轮播图管理', icon: '' }
		// },
		{
			path: 'msgInfo',
			name: 'msgInfo',
			component: () => import('@/views/h5manage/msgInfo'),
			meta: { title: '消息设置', icon: '' }
		},
		{
			path: 'farmingGoods',
			name: 'farmingGoods',
			component: () => import('@/views/h5manage/farmingGoods'),
			meta: { title: '扶农商品管理', icon: '' }
		},
		// {
		// 	path: 'bannerAdd',
		// 	name: 'bannerAdd',
		// 	hidden: true,
		// 	component: () => import('@/views/h5manage/bannerAdd'),
		// 	meta: { title: '添加轮播图', icon: '' }
		// },
		// {
		// 	path: 'bannerEdit',
		// 	name: 'bannerEdit',
		// 	hidden: true,
		// 	component: () => import('@/views/h5manage/bannerAdd'),
		// 	meta: { title: '修改轮播图', icon: '' }
		// },
		{
			path: 'tokenWithdraw',
			name: 'tokenWithdraw',
			component: () => import('@/views/h5manage/tokenWithdraw'),
			meta: { title: '系统设置', icon: '' }
		},
		{
			path: 'apkAdd',
			name: 'apkAdd',
			hidden: true,
			component: () => import('@/views/h5manage/apkAdd'),
			meta: { title: 'APP上传', icon: '' }
		},
		{
			path: 'apkInfo',
			name: 'apkInfo',
			component: () => import('@/views/h5manage/apkInfo'),
			meta: { title: 'APP版本更新', icon: '' }
		},
		{
			path: 'stockInfo',
			name: 'stockInfo',
			// hidden: true,
			component: () => import('@/views/h5manage/stockInfo'),
			meta: { title: '数字资产走势管理', icon: '' }
		},
		{
			path: 'addFarmingGoods',
			name: 'addFarmingGoods',
			hidden: true,
			component: () => import('@/views/h5manage/addFarmingGoods'),
			meta: { title: '扶农商品管理', icon: '' }
		},
	]
};
